package com.zhouchao.gateway.feign.user;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: zhouchao
 * @Date: 2021/10/15 13:59
 * @Description:
 */
@FeignClient(name="service-user")
public interface UserServiceFeignClient {

    @GetMapping("api/user/info/{token}")
    String getInfo(@PathVariable String token);

}
